package erathia.dao;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import erathia.model.Member;

public class MemberDao {
	private SqlMapClientTemplate ibatisTemplate;

	public void setIbatisTemplate(SqlMapClientTemplate ibatisTemplate) {
		this.ibatisTemplate = ibatisTemplate;
	}
	
	/*Input: m_id, m_pwd / Output: Member*/
	public Member getMemberByM_idM_pwd(Member member){
		return (Member)ibatisTemplate.queryForObject("getMemberByM_idM_pwd", member);
	}
}
